package cn.iocoder.yudao.module.im.controller.app.member.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "用户 APP - IM消息 Response VO")
@Data
@ExcelIgnoreUnannotated
public class AppMemberMessageRespVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "22684")
    @ExcelProperty("编号")
    private Long id;

    @Schema(description = "分组ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "32631")
    @ExcelProperty("分组ID")
    private Long groupId;

    @Schema(description = "发送人编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "5906")
    @ExcelProperty("发送人编号")
    private Long sendUserId;

    @Schema(description = "发送人昵称")
    private String sendNickName;

    @Schema(description = "发送人头像")
    private String sendAvatar;

    @Schema(description = "接收人编号", example = "21717")
    @ExcelProperty("接收人编号")
    private Long receiveUserId;

    @Schema(description = "接收人昵称")
    private String receiveNickName;

    @Schema(description = "接收人头像")
    private String receiveAvatar;

    @Schema(description = "消息类型")
    private Integer sendType;

    @Schema(description = "消息类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("消息类型")
    private Integer contentType;

    @Schema(description = "消息", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("消息")
    private String content;

    @Schema(description = "语音时长")
    @ExcelProperty("语音时长")
    private Integer voiceSec;

    @Schema(description = "图片宽度")
    @ExcelProperty("图片宽度")
    private Integer imgWidth;

    @Schema(description = "图片高度")
    @ExcelProperty("图片高度")
    private Integer imgHeight;

    @Schema(description = "是否已读", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("是否已读")
    private Boolean readStatus;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}